/**
 * @file user_struct.h
 *
 */
#ifndef _USER_STRUCT_H
#define _USER_STRUCT_H

#ifdef __cplusplus
extern "C" {
#endif

#include "user_macro.h"
#include "stdint.h"

typedef struct
{
    uint16_t head;
    uint16_t tail;
    uint8_t data[BLE_DATA_MAX][BLE_DATA_SINGLE];
}ble_data_t;

typedef struct
{
    uint16_t head;
    uint16_t tail;
    uint8_t data[UART_DATA_MAX][UART_DATA_SINGLE];
}uart_data_t;

typedef struct
{
	uint8_t status;
	uint8_t mode;
	uint32_t timing;
}led_status_t;

typedef struct
{
    uint8_t valid;
    uint32_t ip;
}ip_info_t;

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*USER_STRUCT*/
